package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.beautyescort.EscortBeautyDispatch;

import java.util.ArrayList;
import java.util.List;

@FieldTypeAnnotation(tableName = "t_l_ck_beauty_escort_rob", desc = "劫镖记录", autoSave = true, uploadCk = true)
public class LogBeautyEscortRob extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "玩家id", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "被劫玩家id")
    private long enemyUserId;

    @FieldTypeAnnotation(desc = "被劫走镖id")
    private long enemyDartId;

    @FieldTypeAnnotation(desc = "美女")
    private List<EscortBeautyDispatch> beautyList = new ArrayList<>();

    @FieldTypeAnnotation(desc = "敌方美女")
    private List<EscortBeautyDispatch> enemyBeautyList = new ArrayList<>();

    @FieldTypeAnnotation(desc = "胜利")
    private boolean win;

    @FieldTypeAnnotation(desc = "劫镖奖励")
    private String rewards;

    @FieldTypeAnnotation(desc = "次数购买消耗")
    private String buyConsume;

    @FieldTypeAnnotation(desc = "美女总经验")
    private long allExp;

    public LogBeautyEscortRob(long userId, long enemyUserId, long enemyDartId, List<EscortBeautyDispatch> beautyList, List<EscortBeautyDispatch> enemyBeautyList, boolean win, String rewards, String buyConsume, long allExp) {
        this.userId = userId;
        this.enemyUserId = enemyUserId;
        this.enemyDartId = enemyDartId;
        this.beautyList = beautyList;
        this.enemyBeautyList = enemyBeautyList;
        this.win = win;
        this.rewards = rewards;
        this.buyConsume = buyConsume;
        this.allExp = allExp;
    }

    public long getUserId() {
        return userId;
    }

}
